package top.lenjon.lib.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author whz
 * @Date 2020/11/8 22:46
 **/
@Data
public class RegisterModel {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "昵称不能为空")
    private String nickname;
    @NotBlank(message = "手机号不能为空")
    private String phone;
    @NotBlank(message = "身份证不能为空")
    private String identification;

}
